﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface ITeacherEvalItemLogic : ICommonLogic<TeacherEvalItem, int>
    {
        int InsertCauseItem(string p, List<TeacherEvalItem> listDel, List<TeacherEvalItem> listAdd);

        /// <summary>
        /// 获取对应大项的小项
        /// </summary>
        /// <param name="schoolMark"></param>
        /// <param name="typeId"></param>
        /// <returns></returns>
        IList<TeacherEvalItem> GetItemByType(string schoolMark, int typeId);


        /// <summary>
        /// 获取学分单项
        /// </summary>
        /// <param name="schoolMark"></param>
        /// <param name="itemID"></param>
        /// <returns></returns>
        TeacherEvalItem GetItemByID(string schoolMark, int itemID);
    }
}
